<?php  
include_once($_SERVER['CONTEXT_DOCUMENT_ROOT'].'/admin/public/header.php');
include_once($_SERVER['CONTEXT_DOCUMENT_ROOT'].'/public/func.php');
$config=include_once($_SERVER['CONTEXT_DOCUMENT_ROOT'].'/public/config.php');
$rew=sel($config,'`biaoqian`');
$time=$_POST['addtime']=date("Y-m-d H:i:s",time());
 $p =isset($_GET['p'])?$_GET['p']:'1';
   $num = 5;
   $offset = ($p-1)*$num;
   $ew=sel($config,'biaoqian', "limit $offset,$num");
?> 
    <!--/sidebar-->
    <div class="main-wrap">

        <div class="crumb-wrap">
            <div class="crumb-list"><i class="icon-font"></i><a href="/admin/index.php">首页</a><span class="crumb-step">&gt;</span><span class="crumb-name">标签管理</span></div>
        </div>
        <div class="search-wrap">
            <div class="search-content">
                <form action="xiugai1.php" method="post">

                </form>
            </div>
        </div>
        <div class="result-wrap">
            <form name="myform" id="myform" method="post">
                <div class="result-title">
                    <div class="result-list">
                        <a href="zeng.php"><i class="icon-font"></i>添加标签</a>
                       
                    </div>
                </div>
                <div class="result-content">
                    <table class="result-tab" width="100%">
                        <tr>
                            <th class="tc" width="5%"><input class="allChoose" name="" type="checkbox"></th>
                            
                            <th>ID</th>
                                                    
                            
                            
                            <th>标签</th>
                            <th>创建时间</th>
                            <th>操作</th>
                        </tr>
                        <?php
                        foreach ($rew as $v) {
                        echo '<tr>                              
                              <td></td> 
                              <td>'.$v['id'].'</td>
                              <td>'.$v['biao'].'</td>
                              
                             
                              <td>'.$v['addtime'].'</td>
                              <td>
                                <a class="link-update" href="xiugai1.php?id='.$v['id'].'">修改</a>
                                <a class="link-del" href="shangchu.php?id='.$v['id'].'">删除</a>
                              </td>
                              </tr>';
                              };
                          
                    ?>
                   
                    </table>
                    <div class="list-page"><?php echo page($config,'biaoqian');?></div>
                </div>
            </form>
        </div>
    </div>
    <!--/main-->
<?php  
include_once($_SERVER['CONTEXT_DOCUMENT_ROOT'].'/admin/public/footer.php');
?> 